     <?php if(isset($products)): ?>
            <div class="column" style="width: 30%;" onmouseover="Hovercat('<?php echo $products->id; ?>')" onmouseout="Outcat('<?php echo $products->id; ?>')">
            	<a href="javascript:;" class="art"><?php echo $products->name; ?></a>
                <div class="action" id="neocat-<?php echo $products->id; ?>">
                    <img src="<?php echo img_link('edit.gif', 'admin'); ?>"><a href="javascript:void(0)" onclick="open_form('<?php echo action_link('edit/'.$products->id); ?>')">Sửa</a><img src="<?php echo img_link('delete.gif', 'admin'); ?>"><a href="javascript:void(0)" onclick="product_delete('<?php echo $products->id; ?>')"><font color="#be0000">Xóa</font></a>
                </div>
            </div>
           
            <div class="column" style="width: 10%;"><a href="<?php echo current_url(); ?>/?company_id=<?php echo $products->id_company;?>"><?php echo $this->products_model->get_company_by_id($products->id_company); ?></a></div>
            <div class="column" style="width: 10%;"><a href="<?php echo current_url(); ?>/?protype_id=<?php echo $products->id_product_type;?>"><?php echo $this->products_model->get_product_type_by_id($products->id_product_type); ?></a></div>
            <div class="column" style="width: 10%;"><font class="date"><?php echo date('d-m-Y', strtotime($products->date_create)); ?></font></div>
            
            <div class="column" style="width: 10%;">
	            <?php if($products->hot == 'no'): ?>
				<a href="javascript:void(0);" onclick="product_hot('<?php echo $products->id;?>', 'yes')"><img src="<?php echo img_link('pending.png', 'admin'); ?>" class="icon png" title="Sản phẩm nổi bật" alt="Sản phẩm nổi bật"></a>
	            <?php else: ?>
				<a href="javascript:void(0);" onclick="product_hot('<?php echo $products->id;?>', 'no')"><img src="<?php echo img_link('active.png', 'admin'); ?>" class="icon png" title="Hủy sản phẩm nổi bật" alt="Hủy sản phẩm nổi bật"></a>
	            <?php endif; ?>
            </div>
            
            <div class="column" style="width: 10%;">
	            <?php if($products->best_sales == 'no'): ?>
				<a href="javascript:void(0);" onclick="product_best_sales('<?php echo $products->id;?>', 'yes')"><img src="<?php echo img_link('pending.png', 'admin'); ?>" class="icon png" title="Sản phẩm bán chạy" alt="Sản phẩm bán chạy"></a>
	            <?php else: ?>
				<a href="javascript:void(0);" onclick="product_best_sales('<?php echo $products->id;?>', 'no')"><img src="<?php echo img_link('active.png', 'admin'); ?>" class="icon png" title="Hủy sản phẩm bán chạy" alt="Hủy sản phẩm bán chạy"></a>
	            <?php endif; ?>
            </div>
            
            <div class="column" style="width: 8%;">
	            <?php if($products->status == 'no'): ?>
				<a href="javascript:void(0);" onclick="product_status('<?php echo $products->id;?>', 'yes')"><img src="<?php echo img_link('pending.png', 'admin'); ?>" class="icon png" title="Kích hoạt" alt="Kích hoạt"></a>
	            <?php else: ?>
				<a href="javascript:void(0);" onclick="product_status('<?php echo $products->id;?>', 'no')"><img src="<?php echo img_link('active.png', 'admin'); ?>" class="icon png" title="Hủy kích hoạt" alt="Hủy kích hoạt"></a>
	            <?php endif; ?>
            </div>
		<?php endif; ?>